package com.ruoyi.system.domain.zhuangxiumain.shopMain;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.*;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 *标签表
 *赵德健
 * */

public class ProductLabel extends BaseEntity {

  private static final long serialVersionUID = 1L;

  /** 标签ID */
  private Integer labelId;

  /** 商品ID */
  @Excel(name = "商品ID")
  private Integer productId;


  private Integer numproductId;
  private Integer numproductPicId;

  /** 标签名称 */
  @Excel(name = "标签名称")
  private String labelName;

  /** 商品图片表ID */
  @Excel(name = "商品图片表ID")
  private Integer productPicId;

  /** 标签单位 */
  @Excel(name = "标签单位")
  private String labelUnit;

  /** 最后修改时间 */
  @JsonFormat(pattern = "yyyy-MM-dd")
  @Excel(name = "最后修改时间", width = 30, dateFormat = "yyyy-MM-dd")
  private Date modifiedTime;

  /** 价格 */
  @Excel(name = "价格")
  private BigDecimal labelPrice;
  private BigDecimal groupPrice;

  /** 0 上架  1 下架 */
  @Excel(name = "0 上架  1 下架")
  private String labelStatus;

  /** 颜色 */
  @Excel(name = "颜色")
  private String labelColorType;
  private String delFlag;

  @Excel(name = "仓库数量")
  private String labelQuantity;

  @Excel(name = "运费")
  private Double labelFreight;

  private ProductPicInfo productPicInfo;




  @Override
  public String toString() {
    return "ProductLabel{" +
            "labelId=" + labelId +
            ", productId=" + productId +
            ", numproductId=" + numproductId +
            ", numproductPicId=" + numproductPicId +
            ", labelName='" + labelName + '\'' +
            ", productPicId=" + productPicId +
            ", labelUnit='" + labelUnit + '\'' +
            ", modifiedTime=" + modifiedTime +
            ", labelPrice=" + labelPrice +
            ", labelStatus='" + labelStatus + '\'' +
            ", labelColorType='" + labelColorType + '\'' +
            ", delFlag='" + delFlag + '\'' +
            ", labelQuantity='" + labelQuantity + '\'' +
            ", labelFreight='" + labelFreight + '\'' +
            ", groupPrice='" + groupPrice + '\'' +
            '}';
  }

  public BigDecimal getGroupPrice() {
    return groupPrice;
  }

  public void setGroupPrice(BigDecimal groupPrice) {
    this.groupPrice = groupPrice;
  }

  public Integer getNumproductPicId() {
    return numproductPicId;
  }

  public void setNumproductPicId(Integer numproductPicId) {
    this.numproductPicId = numproductPicId;
  }

  public static long getSerialVersionUID() {
    return serialVersionUID;
  }

  public Integer getLabelId() {
    return labelId;
  }

  public void setLabelId(Integer labelId) {
    this.labelId = labelId;
  }

  public Integer getProductId() {
    return productId;
  }

  public void setProductId(Integer productId) {
    this.productId = productId;
  }

  public Integer getNumproductId() {
    return numproductId;
  }

  public void setNumproductId(Integer numproductId) {
    this.numproductId = numproductId;
  }

  public String getLabelName() {
    return labelName;
  }

  public void setLabelName(String labelName) {
    this.labelName = labelName;
  }

  public Integer getProductPicId() {
    return productPicId;
  }

  public void setProductPicId(Integer productPicId) {
    this.productPicId = productPicId;
  }

  public String getLabelUnit() {
    return labelUnit;
  }

  public void setLabelUnit(String labelUnit) {
    this.labelUnit = labelUnit;
  }

  public Date getModifiedTime() {
    return modifiedTime;
  }

  public void setModifiedTime(Date modifiedTime) {
    this.modifiedTime = modifiedTime;
  }

  public BigDecimal getLabelPrice() {
    return labelPrice;
  }

  public void setLabelPrice(BigDecimal labelPrice) {
    this.labelPrice = labelPrice;
  }

  public String getLabelStatus() {
    return labelStatus;
  }

  public void setLabelStatus(String labelStatus) {
    this.labelStatus = labelStatus;
  }

  public String getLabelColorType() {
    return labelColorType;
  }

  public void setLabelColorType(String labelColorType) {
    this.labelColorType = labelColorType;
  }

  public String getDelFlag() {
    return delFlag;
  }

  public void setDelFlag(String delFlag) {
    this.delFlag = delFlag;
  }

  public String getLabelQuantity() {
    return labelQuantity;
  }

  public void setLabelQuantity(String labelQuantity) {
    this.labelQuantity = labelQuantity;
  }

  public ProductPicInfo getProductPicInfo() {
    return productPicInfo;
  }

  public void setProductPicInfo(ProductPicInfo productPicInfo) {
    this.productPicInfo = productPicInfo;
  }

  public Double getLabelFreight() {
    return labelFreight;
  }

  public void setLabelFreight(Double labelFreight) {
    this.labelFreight = labelFreight;
  }
}
